import request from '@/api/index'

const serviceName = 'admin-demo'
const groupName = 'sysUser'

// 保存用户
export const saveUser = data => {
    return request.request({
        url: `${serviceName}/${groupName}/saveUser`,
        method: 'post',
        data
    })
}

// 查询分页用户列表
export const pageUserList = data => {
    return request.request({
        url: `${serviceName}/${groupName}/pageUserList`,
        method: 'post',
        data
    })
}
